const mongoos = require('mongoose');
mongoos.connect('mongodb://127.0.0.1:27017/company-system');
const db = mongoos.connection;
db.once('open', () => {
    console.log('数据库连接成功');
});

